/**
 * Created by meijun on 17-8-29.
 */
import React from 'react'
import {Button, Text, View} from "react-native";
import  {notifications } from './NotificationManager'
export  default  class ProfileScreen extends React.Component{
    static navigationOptions = {
        title: 'ProfileScreen',
    };
    render(){
        return(
            <View style={{flex:1}}>
                <Button onPress={() => {
                    notifications.addNotification("aaaaaaa");
                }} title={"添加消息"}></Button>

                <Button onPress={() => {
                    notifications.logNotification();
                }} title={"打印log"}></Button>
            </View>
        )
    }
}